/* Copyright (c) 2009 Richard G. Todd.
 * Licensed under the terms of the Microsoft Public License (Ms-PL).
 */

using Creek.Parsing.Generator;
using LinguaDemo.Calculator;

namespace Test.CalculatorParser.Nonterminals
{
    [Nonterminal(IsStart = true)]
    public class Start : CalculatorNonterminal
    {
        #region Fields

        #endregion

        #region Rules

        public static void Rule(Start result, Expression expression)
        {
            result.Value = expression.Value;
        }

        #endregion

        #region Public Properties

        public int Value { get; protected set; }

        #endregion
    }
}